Optimal. Leaf size=22 \[ \frac {\log \left (a^2+\sqrt {-a} x\right )}{\sqrt {-a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {31}
\begin {gather*} \frac {\log \left (a^2+\sqrt {-a} x\right )}{\sqrt {-a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rubi steps
\begin {align*} \int \frac {1}{a^2+\sqrt {-a} x} \, dx &=\frac {\log \left (a^2+\sqrt {-a} x\right )}{\sqrt {-a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} \frac {\log \left (a^2+\sqrt {-a} x\right )}{\sqrt {-a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 19, normalized size = 0.86
method | result | size |
default | \(\frac {\ln \left (a^{2}+x \sqrt {-a}\right )}{\sqrt {-a}}\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 18, normalized size = 0.82 \begin {gather*} \frac {\log \left (a^{2} + \sqrt {-a} x\right )}{\sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 21, normalized size = 0.95 \begin {gather*} -\frac {\sqrt {-a} \log \left (-\sqrt {-a} a + x\right )}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 19, normalized size = 0.86 \begin {gather*} \frac {\log {\left (a^{2} + x \sqrt {- a} \right )}}{\sqrt {- a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.56, size = 19, normalized size = 0.86 \begin {gather*} \frac {\log \left ({\left | a^{2} + \sqrt {-a} x \right |}\right )}{\sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 14, normalized size = 0.64 \begin {gather*} \frac {\ln \left (x+{\left (-a\right )}^{3/2}\right )}{\sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________